<?php


namespace app\operater\controller;


use think\Controller;

class Allow extends Controller
{
    /**
     * 检测登陆  入口文件
     * Allow constructor.
     */
    public function __construct(){
        parent::__construct();
        if(empty(session('op_operation_id'))){

            $this->error("请先登录",'operater/login/login');

        }
    }
}